//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package objects;

import common.GlobalID;

public class FieldsEntry implements IEntryToSellOrBuy, IUnlockLevel, IGlobalIDName {
  private final String Name;
  private final Integer UnlockLevel;
  private final Integer DumbValue;
  private final Integer TimeMin;
  private final Integer TimeSec;
  private final Integer InstanceId;
  private final Integer DiamondPrice;
  private final Integer ExpCollect;

  public FieldsEntry(String Name, Integer UnlockLevel, Integer DumbValue, Integer TimeMin, Integer TimeSec, Integer InstanceId, Integer DiamondPrice, Integer ExpCollect) {
    this.Name = Name;
    this.UnlockLevel = UnlockLevel;
    this.DumbValue = DumbValue;
    this.TimeMin = TimeMin;
    this.TimeSec = TimeSec;
    this.InstanceId = InstanceId;
    this.DiamondPrice = DiamondPrice;
    this.ExpCollect = ExpCollect;
  }

  public Integer getGlobalId() {
    return this.getGlobalID(Integer.valueOf(4));
  }

  public String getName() {
    return this.Name;
  }

  public Integer getUnlockLevel() {
    return this.UnlockLevel;
  }

  public Integer getDefaultPrice() {
    return this.DumbValue;
  }

  public Integer getTimeMin() {
    return this.TimeMin;
  }

  public Integer getTimeSec() {
    return this.TimeSec;
  }

  public Integer getDiamondPrice() {
    return this.DiamondPrice;
  }

  public Integer getExpCollect() {
    return this.ExpCollect;
  }

  public Integer getGlobalID(Integer objectClass) {
    return Integer.valueOf(GlobalID.create(objectClass.intValue(), this.InstanceId.intValue()));
  }
}
